@extends('host.custom.common.common')
@section('c-head')
<script>

    var PAGE_DATA = {
        pagingObj : {
            total : 0,
            perpage : 7,
            page : 1
        }
    };

</script>
@stop
@section('body')
        <!-- top_test -->
<div id="top_test"> </div>

<!-- web_logo_search -->
<div id="web_logo_search"> </div>

<!-- comm_nav -->
<div id="comm_nav"> </div>


<div class="com-w mt20">
    <div class="wrapper clearfix">
        <div  class="w220 mr20 comm-left-menu">
            <div class="menu-top-title" >供应商中心</div>
            <div id="leftmenuitems">
            </div>
        </div>

        <div class="w960 comm-main">
            <div class="main-release clearfix">
                <div class="main-release-nav">
                    您当前的位置：首页 > 供应商中心 > 价格策略组
                </div>
                <div class="main-release-title">
                    <span class="icons"></span>
                        <span class="release-title-h3 f16">
                            价格策略组
                        </span>
                </div>
                <div class="main-release-from">

                    <div class="h60 w960">

                        <div id="add-price-game"
                             class="btn btn-default btn-160x45 mt20"
                             style="display: block; margin-left: auto; margin-right:auto;">
                            添加价格策略
                        </div>
                    </div>
                    <div class="comm-tbl">
                        <div class="head">
                            <ul class="clearfix">
                                <li class="w320"> 价格策略名称 </li>
                                <li class="w320"> 价格策略 </li>
                                <li class="w320"> 操作 </li>
                            </ul>
                        </div>
                        <div id="commTabs_1_body" class="body clearfix">


                        </div>
                        <div id="comm-paging" class="comm-paging" style="float: right;"></div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- foot_nav -->
<div id="foot_nav"> </div>

<div id="bottom_main">  </div>
<!-- 列表信息 -->
<script type="text/template" id="item-template">
    <%_.each(obj, function(item){%>

    <ul class="one-line clearfix" data-id="<%=item.id%>">
        <li class="w320 f-grey-1"> <%=item.policyname%> </li>
        <li class="w320 f-grey-1"> <%=item.context%> </li>
        <li class="w320">
            <div class="btn btn-important btn-70x30 editor-price-game" id="">编辑</div>
            <div class="btn btn-default btn-70x30 sel-edit-del">删除</div>
        </li>
    </ul>

    <%});%>
</script>

<!-- 编辑框 -->
<script type="text/template" id="add_price_templ">
    <form method="post" id="form">
        <div class="dialog-div"><div class="price-game-name">
                <input type="hidden" name="id" value="<%=id %>">
                <span class="game-text">价格策略名称：</span><input type="text" name="name" id="name" value="<%=policyname %>"></div>
            <div class="price-game-name"><span class="game-text">价格策略：</span><input type="text" name="price" id="price" value="<%=context %>"></div>
            <div class="prompt-text" id="tip">提示：价格策略是您对采购商的折扣信息（格式如：0.95），请认真填写。</div>
            <div class="price-game-btn"><div class="btn btn-gray btn-w140x40 remove"  i="close">取消</div><div class="btn btn-warn btn-w140x40" id="edtsub">提交</div>
            </div>
        </div>
    </form>
</script>
<!-- 确认框 -->
<script type="text/template" id="item-confirm">
    <div class="dialog-div">
        <div>是否确认处理该条信息</div>
        <div class="price-game-btn">
            <div class="btn btn-gray btn-w140x40 remove">取消</div>
            <div class="btn btn-warn btn-w140x40" id="tj">提交</div>
        </div>
    </div>
</script>
<!-- 错误信息框 -->
<script type="text/template" id="item-error">
    <div class="dialog-div">
        <div>操作错误，请重新操作</div>
        <div class="price-game-btn">
            <div class="btn btn-warn btn-w140x40" id="ok" code="">确认</div>
        </div>
    </div>
</script>


<script type="text/javascript" src="/assets/b2b/js/libs/jquery.validate.min.js"></script>
<script src="/assets/b2b/js/libs/messages_zh.js"></script>
<script src="/assets/b2b/js/libs/jquery.paging.min.js"></script>
<script type="text/javascript" src="/assets/b2b/js/libs/dialog-min.js"></script>
<script src="/assets/b2b/js/pageModules/supplyer/S11.js"></script>
@stop